package com.shopx.base.constants;

import com.shopx.core.common.CommonConstant;

/**
 * 缓存命名空间枚举
 *
 * @author jiangxinde
 * @date 2018/9/24 14:36
 */
public enum CacheNamespaceEnum {

    /**
     * 数据缓存
     */
    VCODE(CommonConstant.CacheCode.V_CODE, "VCODE"),
    TOKEN(CommonConstant.CacheCode.TOKEN, "TOKEN")
    ;

    /**
     * 值
     */
    private String value;
    /**
     * 描述
     */
    private String message;

    CacheNamespaceEnum(String value, String message) {
        this.value = value;
        this.message = message;
    }

    public String value() {
        return this.value;
    }

    public String message() {
        return this.message;
    }
}